package com.ebupt.migu.music.market.enums;

import lombok.Getter;

@Getter
public enum ReturnCode {
    ReturnCode1("000000", "成功处理"),
    ReturnCode2("200001", "成功处理"),
    ReturnCode3("200002", "参数格式错误"),
    ReturnCode4("200009", "访问随机数错误"),
    ReturnCode5("100002", "系统忙"),
    ReturnCode6("100005", "数据库操作异常"),
    ReturnCode7("100006", "数据库执行失败"),
    ReturnCode8("300002", "获取信息失败"),
    ;
    final String code;
    final String name;

    ReturnCode(String code, String name) {
        this.code = code;
        this.name = name;
    }
}
